@import '@/app/styles/variables';

.title {
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
}

.back {
  align-self: flex-start;
  margin-bottom: 11px;
}

.wrap {
  width: 522px;
}

.eye {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.2 all;

  &:hover path {
    fill: gray;
  }
}

.goBack {
  display: none;
}

.closePage {
  position: absolute;
  top: 28px;
  right: 28px;
  cursor: pointer;
  transition: 0.2s all;

  &:hover path {
    fill: gray;
  }
}

.password {
  color: var(--simple-night, #000);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  /* 130% */
  align-self: self-start;
  margin-bottom: 16px;
}

.titleBlock {
  gap: 8px;
}

.passwordBlock {
  gap: 16px;
}

.insideBlock {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.closeCircle {
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;

  &:hover rect {
    fill: #e1e1e1;
  }
}

.email {
  color: var(--simple-gray-evening, #ababab);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}

.forgot {
  color: var(--simple-blue-day, #337cec);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;

  /* 137.5% */
  &:hover {
    color: var(--blue-day, #1b56b1);
    cursor: pointer;
  }

  &:active {
    color: var(--blue-day, #1b56b1);
    cursor: pointer;
  }
}

@include media(sm) {
  .wrap {
    width: 100%;
  }
}

@include media(xs) {
  .closeCircle {
    display: none;
  }

  .goBack {
    display: none;
  }

  .exist {
    font-size: 14px;
  }

  .insideBlock {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .forgot {
    font-size: 14px;
  }

  .password {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    margin-bottom: 8px;
  }

  .title {
    color: var(--simple-night, #000);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    margin-top: 5px;
  }

  .closePage {
    display: none;
  }

  .goBack {
    display: flex;
    align-items: center;
    color: var(--simple-gray-evening, #ababab);
    align-self: self-start;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    transform: translateX(-5%);
    cursor: pointer;
  }
}
